let payConst = module.exports;

/*
INSERT INTO zjh.pay_order_type (code) VALUES ('OT001');
INSERT INTO zjh.pay_order_type (code) VALUES ('OT002');
INSERT INTO zjh.pay_order_type (code) VALUES ('OT003');
 */
payConst.ORDER_TYPE_RECHARGE = "OT001";
payConst.ORDER_TYPE_REFUND = "OT002";
payConst.ORDER_TYPE_WITHDRAW = "OT003";

// 0创建订单 1支付成功 -1订单关闭 -2支付失败
payConst.payOrderStatus = {
    orderClose: -1,
    orderFailed: -2,
    orderSuccess: 1,
    orderInit: 0
};